package backed.dto;

import io.swagger.v3.oas.annotations.media.Schema;
import jakarta.validation.constraints.NotNull;
import lombok.Data;

@Schema(description = "用户登录请求")
@Data
public class LoginRequest {
    
    @Schema(description = "用户账号", example = "user123", required = true)
    @NotNull
    private String account;
    
    @Schema(description = "用户密码", example = "123456", required = true)
    @NotNull
    private String password;
}
